using CodingBlog.Core.Model;

namespace CodingBlog.Core.Repository.Contract
{
    public interface IUserRepository
    {
        User CreateUser(User userToBeCreated);
        User GetUserById(int userId);
        bool EmailIsInUse(string email);
        User GetUserByEmailAndPassword(string email, string password);
    }
}